package com.djl.zenithbite.service.shopping.order;

import com.djl.zenithbite.common.response.BaseResponse;
import com.djl.zenithbite.dto.request.shopping.order.AddOrderRequest;
import com.djl.zenithbite.dto.response.order.OrderDetailResponse;

import java.util.List;

public interface OrderService {
    /**
     * add order
     * @param request
     * @return
     */
    BaseResponse<Integer> addOrder(AddOrderRequest request);

    /**
     *
     * @return
     */
    BaseResponse<List<OrderDetailResponse>> listOrder();

    BaseResponse<Void> deleteOrder(Integer orderId);
}
